package org.jeecg.modules.demo.spcFlow.service;

import org.jeecg.modules.demo.spcFlow.entity.SpcFlowMasterDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: spc_flow_master_detail
 * @Author: jeecg-boot
 * @Date:   2023-12-14
 * @Version: V1.0
 */
public interface ISpcFlowMasterDetailService extends IService<SpcFlowMasterDetail> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<SpcFlowMasterDetail>
	 */
	public List<SpcFlowMasterDetail> selectByMainId(String mainId);

	public SpcFlowMasterDetail getOneByFlowIdAndStep(String step,String id);
}
